package uk.co.richardwkirk.parkrun.android.dataload;

import uk.co.richardwkirk.parkrun.android.ParkrunEventData;
import uk.co.richardwkirk.parkrun.geo.Region;
import android.util.Log;

public class RegionDataLoadAdapter implements LoadableParkrunDataAdapter {

	protected Region region = null;
	
	public RegionDataLoadAdapter(Region world) {
		this.region = world;
	}

	@Override
	public void completeLoad() {
		Log.v("PARKRUN", "Loaded parkrun event data.");
		ParkrunEventData.getSingleton().setWorld(region);
	}

}
